package kosta.model.board;

import java.sql.SQLException;
import java.util.List;

public interface BoardDao {
	public List<BoardVO> getListBoard() throws SQLException;

	public BoardVO findByNo(int no) throws SQLException;

	public int insertBoard(BoardVO bvo) throws SQLException;

	public void updateBoard(BoardVO bvo) throws SQLException;

	public void deleteBoard(int no) throws SQLException;

	public void updateCount(int no) throws SQLException;

	public List<BoardVO> findById(String id) throws SQLException;

	public List<BoardVO> findByTitle(String title) throws SQLException;

	public int totalContent() throws SQLException;
	
	public void checkAdopt(int no) throws SQLException;
	
	 public void pointMinus(String id) throws SQLException;

	///관리자 게시물이동///
	public int moveBoard(BoardVO bvo) throws Exception;

	public BoardVO findByRand() throws Exception;

}
